
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.Except;
import cn.edu.scau.cmi.hombio.domain.ExceptionType;
import cn.edu.scau.cmi.hombio.domain.ExceptionTypeEmployee;
import cn.edu.scau.cmi.hombio.domain.InspectionException;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for ExceptionType entities
 * 
 */
public interface ExceptionTypeService {

	/**
	* Save an existing ExceptionType entity
	* 
	 */
	public void saveExceptionType(ExceptionType exceptiontype);

	/**
	* Delete an existing Except entity
	* 
	 */
	public ExceptionType deleteExceptionTypeExcepts(Integer exceptiontype_id, Integer related_excepts_id);

	/**
	* Save an existing InspectionException entity
	* 
	 */
	public ExceptionType saveExceptionTypeInspectionExceptions(Integer id, InspectionException related_inspectionexceptions);

	/**
	* Save an existing Except entity
	* 
	 */
	public ExceptionType saveExceptionTypeExcepts(Integer id_1, Except related_excepts);

	/**
	* Delete an existing InspectionException entity
	* 
	 */
	public ExceptionType deleteExceptionTypeInspectionExceptions(Integer exceptiontype_id_1, Integer related_inspectionexceptions_id);

	/**
	* Return all ExceptionType entity
	* 
	 */
	public List<ExceptionType> findAllExceptionTypes(Integer startResult, Integer maxRows);

	/**
	* Load an existing ExceptionType entity
	* 
	 */
	public Set<ExceptionType> loadExceptionTypes();

	/**
	* Return a count of all ExceptionType entity
	* 
	 */
	public Integer countExceptionTypes();

	/**
	* Delete an existing ExceptionType entity
	* 
	 */
	public void deleteExceptionType(ExceptionType exceptiontype_1);

	/**
	* Delete an existing ExceptionTypeEmployee entity
	* 
	 */
	public ExceptionType deleteExceptionTypeExceptionTypeEmployees(Integer exceptiontype_id_2, Integer related_exceptiontypeemployees_id);

	/**
	* Save an existing ExceptionTypeEmployee entity
	* 
	 */
	public ExceptionType saveExceptionTypeExceptionTypeEmployees(Integer id_2, ExceptionTypeEmployee related_exceptiontypeemployees);

	/**
	 */
	public ExceptionType findExceptionTypeByPrimaryKey(Integer id_3);
}